import request from '@/utils/request'

/*
	@param {Object} params : 查询参数
	{
		tableName:[string] - 数据表名,
		owner:[string] - 负责人OA账号,
		page:[int] - 查询页码,
		limit:[int] - 每页条数

	}
*/
const query = (params) => request.get({url: '/cube',params});

/*
	@param {string} id : cube id
*/
const get = (id) => request.get(`/cube/${id}`)


export default {query, get};
